﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using NCD.ORMDbContext.Enums;

namespace NCD.ORMDbContext.EFCore
{

    /// <summary>
    /// 
    /// </summary>
    public class EFCoreDBContextOptions : IOptions<EFCoreDBContextOptions>
    {

        public string Connection { get; set; }   //连接字符串

        public DbTypeNameEnum DbType { get; set; }
        public EFCoreDBContextOptions Value { get { return this; } }
    }
}
